bytes.Reader.s (field)
16 uses
bytes (current package)
reader.go#L19: s []byte
reader.go#L27: if r.i >= int64(len(r.s)) {
reader.go#L30: return int(int64(len(r.s)) - r.i)
reader.go#L36: func (r *Reader) Size() int64 { return int64(len(r.s)) }
reader.go#L40: if r.i >= int64(len(r.s)) {
reader.go#L44: n = copy(b, r.s[r.i:])
reader.go#L55: if off >= int64(len(r.s)) {
reader.go#L58: n = copy(b, r.s[off:])
reader.go#L68: if r.i >= int64(len(r.s)) {
reader.go#L71: b := r.s[r.i]
reader.go#L88: if r.i >= int64(len(r.s)) {
reader.go#L93: if c := r.s[r.i]; c < utf8.RuneSelf {
reader.go#L97: ch, size = utf8.DecodeRune(r.s[r.i:])
reader.go#L125: abs = int64(len(r.s)) + offset
reader.go#L139: if r.i >= int64(len(r.s)) {
reader.go#L142: b := r.s[r.i:]
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |